list=[23,11,12,23,9,2,1,4]
new_list=[]
for i in list:
    if len(list)==len(new_list):
        print("没有重复元素")
    else:
        print("有重复元素")